package com.company.beauty.oss.support;

import cn.hutool.extra.spring.SpringUtil;
import com.company.pangu.aliyun.oss.client.OssClient;
import com.company.pangu.aliyun.oss.request.OssTokenRequest;
import com.company.pangu.aliyun.oss.response.OssTokenResponse;

/**
 * <p>oss utils</p >
 *
 * @author youyoukele
 * @version 1.0
 * @date 2024/4/24 17:07
 */
public class OssUtils {

    private static final OssClient ossClient = SpringUtil.getBean(OssClient.class);

    public static OssTokenResponse getOssToken(OssTokenRequest request) {
        return ossClient.getOssToken(request);
    }

}
